const express = require("express");
const router = express.Router();

const terminalHandler = require("../../router_handler/terminal/index");

//增加
router.post("/create", terminalHandler.create);
//删除
router.get("/delete", terminalHandler.deleteByTermId);
//修改，更新
router.post("/update", terminalHandler.updateByTermId);
//获取
router.get("/item", terminalHandler.getByTermId);
router.get("/all", terminalHandler.getAll);


module.exports = router;
